﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manager_Nguoidung_Controls_UC_Nguoidung : System.Web.UI.UserControl
{
    BUS_Accounts Accounts = new BUS_Accounts();
    BUS_Customers Customer = new BUS_Customers();
    protected void Page_Load(object sender, EventArgs e)
    {
        lblTongQL.Text =  Accounts.Accounts_GetByAll().Rows.Count.ToString();
        lblTongKH.Text = Customer.Customers_GetByAll().Rows.Count.ToString();
        lblMoQl.Text = Accounts.Accounts_GetByTop(0, "[Status] = 1", "").Rows.Count.ToString();
        lblMoKH.Text = Customer.Customers_GetByTop(0, "[Status] = 1", "").Rows.Count.ToString();
        lblDongQL.Text = Accounts.Accounts_GetByTop(0, "[Status] = 0", "").Rows.Count.ToString();
        lblDongKH.Text = Customer.Customers_GetByTop(0, "[Status] = 0", "").Rows.Count.ToString();
    }
}